home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / plat-mxc / include / mach / mmc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-09-09  |  970 b   |  36 lines

  1. /*
  2.  * Copyright 2007-2008 Freescale Semiconductor, Inc. All Rights Reserved.
  3.  */
  4.  
  5. /*
  6.  * The code contained herein is licensed under the GNU General Public
  7.  * License. You may obtain a copy of the GNU General Public License
  8.  * Version 2 or later at the following locations:
  9.  *
  10.  * http://www.opensource.org/licenses/gpl-license.html
  11.  * http://www.gnu.org/copyleft/gpl.html
  12.  */
  13. #ifndef __ASM_ARCH_MXC_MMC_H__
  14. #define __ASM_ARCH_MXC_MMC_H__
  15.  
  16. #include <linux/mmc/host.h>
  17.  
  18. struct mxc_mmc_platform_data {
  19.     unsigned int ocr_mask;    /* available voltages */
  20.     unsigned int vendor_ver;
  21.     unsigned int caps;
  22.     unsigned int min_clk;
  23.     unsigned int max_clk;
  24.     unsigned int clk_flg;    /* 1 clock enable, 0 not */
  25.     unsigned int reserved:16;
  26.     unsigned int card_fixed:1;
  27.     unsigned int card_inserted_state:1;
  28. //      u32 (*translate_vdd)(struct device *, unsigned int);
  29.     unsigned int (*status) (struct device *);
  30.     int (*wp_status) (struct device *);
  31.     char *power_mmc;
  32.     char *clock_mmc;
  33. };
  34.  
  35. #endif
  36.